package com.szh.cloud.api.user.repositoy;

import com.szh.cloud.api.user.entity.ApiSearchUserEntity;
import com.szh.cloud.mybatis.eltree.ElTreeItem;
import com.szh.cloud.mybatis.entity.PtUserEntity;
import com.szh.cloud.mybatis.flexigrid.PagingBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ApiUserDao {
    List<PtUserEntity> queryUserListByPage(@Param("entity") ApiSearchUserEntity entity,@Param("paging") PagingBean paging);

    Integer queryUserListTotal(@Param("entity")ApiSearchUserEntity entity);

    List<ElTreeItem> queryRoleTree();


    List<String> queryRoleTreeById(@Param("userUuid")String userUuid);
}